""" Setup consistent logging. """
import logging

LOGGING_SETUP = False
def setup_logging(level=logging.DEBUG):
    global LOGGING_SETUP
    if LOGGING_SETUP:
        return
    LOGGING_SETUP = True
    logging.basicConfig(filename='debug.log',level=level)
    
setup_logging()
